package com.jy.rhin.model.body.jiankangtj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import com.jy.rhin.model.CodeObject;
import lombok.Data;

/**
 * 健康指导章节
 *
 * @author shenguangyang
 */
@Data
public class JianKangZD {
    /**
     * 健康指导代码
     */
    @XPath(path = "/entry/observation/code[@code='DE06.00.051.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_051_00, nullable = true))
    CodeObject jianKangZDDM;

    /**
     * 体检危险因素控制
     */
    @XPath(path = "/entry/observation/code[@code='DE06.00.114.00']/../value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_114_00, nullable = true))
    CodeObject tiJianWXYSKZ;
}
